package com.edu.service;

import com.edu.bean.User;

import java.util.List;

public interface UserService {
    List<User> getAllUser();

    void addUser(User user);

    void deleteUser(int userId);

    User getUserById(int userId);

    void changeUser(User user);

    User getUserByNamePass(User user);

    User getUserByName(String user);
}
